package com.healthcloud.dao;

import org.apache.ibatis.annotations.Param;

import com.healthcloud.entity.Patient;

public interface PatientMapper extends CRUDMapper<Patient, Long> {

    Patient findByIdCard(@Param("idCard") String idCard);

    Patient findByUserId(@Param("userId") Integer userId);
}
